/**
 * Created by sky on 2019/3/12.
 */
layui.define(function (exports) {
    var CommonFunction = {
        heredoc: function (fn) {
            return fn.toString().split('\n').slice(1, -1).join('\n') + '\n';
        }

    };
    exports('CommonFunction', CommonFunction);
});